package com.rapid.code;

import cn.org.rapid_framework.generator.GeneratorFacade;

public class RapidCodeMain {
	public static void main(String[]args)throws Exception{
        GeneratorFacade g = new GeneratorFacade();
        g.deleteOutRootDir();
        //鍒犻櫎鐢熸垚鍣ㄧ殑杈撳嚭鐩綍//
        g.generateByTable("t_stock_order","template");
        //閫氳繃鏁版嵁搴撹〃鐢熸垚鏂囦欢,template涓烘ā鏉跨殑鏍圭洰褰�
        //g.generateByAllTable("template");
        //鑷姩鎼滅储鏁版嵁搴撲腑鐨勬墍鏈夎〃骞剁敓鎴愭枃浠�template涓烘ā鏉跨殑鏍圭洰褰�
        //g.generateByClass(Blog.class,"template_clazz");
        //g.deleteByTable("table_name", "template");
        //鍒犻櫎鐢熸垚鐨勬枃浠�
    }
}
